
function sum(...rest){
    console.log(arguments.length,rest.length);
    console.log(arguments);
}
